#name: -t (section details) for readelf SHF_GNU_RETAIN
#source: retain1.s
#target: [supports_gnu_osabi]
#readelf: -S -t --wide

#...
  \[[ 0-9]+\] .bss.retain0
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .bss.retain1
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .data.retain2
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .bss.sretain0
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .bss.sretain1
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .data.sretain2
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .text.fnretain1
#...
       \[0+200006\]: ALLOC, EXEC, GNU_RETAIN
#...
  \[[ 0-9]+\] .bss.lsretain0
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .bss.lsretain1
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#...
  \[[ 0-9]+\] .data.lsretain2
#...
       \[0+200003\]: WRITE, ALLOC, GNU_RETAIN
#pass
